﻿package hapi.web;

class StaticPathMatcher implements PathMatcher {
	
	var str:String;
	public function new(part:String) {
		str = part;
	}
	
	public function match(part:String, paramsToFill:{} ):Bool {
		return part == str;
	}
	
	public function resolve(params:{}):String {
		return str;
	}
	
	public function paramsMatch(params:{}):Bool {
		return true;
	}
}